package Day25;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-10-17
 * Time: 8:45
 * To BE A Better Person-2020-3-2
 */


public class TestDemo3 {
    public static boolean out(char c){
        System.out.print(c);
        return true;
    }

    public static void main(String[] args) {
        int i=0;
        for (out('A'); out('B')&&(i<2) ;out('C')) {
            i++;
            out('D');
        }
    }
}
